function [] = RescaleDynaWorks
global Project;
% Rescale each channel by multiplying the Time History and Sensitivity
for index = 1:Project.Test_Item.Run.Num_Chan
    if strcmp(upper(Project.Test_Item.Run.Channel(index).EU),'PSI')
        Project.Test_Item.Run.Channel(index).Time_His = Project.Test_Item.Run.Channel(index).Time_His * 1;
        Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 1;
    else
        Project.Test_Item.Run.Channel(index).Time_His = Project.Test_Item.Run.Channel(index).Time_His * 10.0;
        Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 10.0;
    end
end
return
%-------------------------------------------------------------------------
% The following code is for GPM Mass Sim WD#70978 21-Mar-2013
% to account for force gage and moment sensitivities
for index = 14:33
    Project.Test_Item.Run.Channel(index).Time_His = Project.Test_Item.Run.Channel(index).Time_His * 100.0;
    Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 100.0;
end
for index = 34:35
    Project.Test_Item.Run.Channel(index).Time_His = Project.Test_Item.Run.Channel(index).Time_His * 10000.0;
    Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 10000.0;
end
for index = 36:38
    Project.Test_Item.Run.Channel(index).Time_His = Project.Test_Item.Run.Channel(index).Time_His * 100.0;
    Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 100.0;
end
return


% ******************************************************************************************************
% Rescale each channel by multiplying the Time History and Sensitivity
% Modified 29-Jan-2013 by C. McLeod
for index = 1:Project.Test_Item.Run.Num_Chan
    if strcmp(upper(Project.Test_Item.Run.Channel(index).EU),'PSI')
        Project.Test_Item.Run.Channel(index).Time_His = Project.Test_Item.Run.Channel(index).Time_His * 1;
        Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 1;
    else
        Project.Test_Item.Run.Channel(index).Time_His = Project.Test_Item.Run.Channel(index).Time_His * 10.0;
        Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 10.0;
    end
end
return
% Project.Test_Item.Run.Channel(7).Time_His = Project.Test_Item.Run.Channel(7).Time_His * (1414.43/1257.86);
% Project.Test_Item.Run.Channel(8).Time_His = Project.Test_Item.Run.Channel(8).Time_His * 1257.86;
% Project.Test_Item.Run.Channel(9).Time_His = Project.Test_Item.Run.Channel(9).Time_His * 1400.56;
% ******************************************************************************************************
% For TIRS Sensor Unit - WD# 60472 - 10-Nov-2011
% % Rescale channels Foot1 X Sums, Foot2 X Sums, Foot3 X Sums
% for index = 8:10
%     Project.Test_Item.Run.Channel(index).Time_His = Project.Test_Item.Run.Channel(index).Time_His * 10000;
%     Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 10000;
% end
% % Rescale Overall Y and Overall Z Sums
% for index = 26:27
%     Project.Test_Item.Run.Channel(index).Time_His = Project.Test_Item.Run.Channel(index).Time_His * 10000.0;
%     Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 10000.0;
% end
% ******************************************************************************************************
% For JWST NRSpec
% for index = 17:28
%      Project.Test_Item.Run.Channel(index).Time_His = Project.Test_Item.Run.Channel(index).Time_His * 1000.0;
%      Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 1000.0;
% end
% ******************************************************************************************************
% For TIRS - AL Keel WD# 51159
% Force Gage Sensitivity Settings:
% index = 41;
% Project.Test_Item.Run.Channel(index).Time_His    = Project.Test_Item.Run.Channel(index).Time_His *    1000.0;
% Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 1000.0;
% index = index + 1;
% Project.Test_Item.Run.Channel(index).Time_His    = Project.Test_Item.Run.Channel(index).Time_His *    1000.0;
% Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 1000.0;
% index = index + 1;
% Project.Test_Item.Run.Channel(index).Time_His    = Project.Test_Item.Run.Channel(index).Time_His *    1000.0;
% Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 1000.0;
% index = index + 1;
% Project.Test_Item.Run.Channel(index).Time_His    = Project.Test_Item.Run.Channel(index).Time_His *    1000.0;
% Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 1000.0;
% index = index + 1;
% Project.Test_Item.Run.Channel(index).Time_His    = Project.Test_Item.Run.Channel(index).Time_His *    1000.0;
% Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 1000.0;
% index = index + 1;
% Project.Test_Item.Run.Channel(index).Time_His    = Project.Test_Item.Run.Channel(index).Time_His *    1000.0;
% Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 1000.0;
% index = index + 1;
% Project.Test_Item.Run.Channel(index).Time_His    = Project.Test_Item.Run.Channel(index).Time_His *    1000.0;
% Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 1000.0;
% index = index + 1;
% Project.Test_Item.Run.Channel(index).Time_His    = Project.Test_Item.Run.Channel(index).Time_His *    1000.0;
% Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 1000.0;
% index = index + 1;
% Project.Test_Item.Run.Channel(index).Time_His    = Project.Test_Item.Run.Channel(index).Time_His *    1000.0;
% Project.Test_Item.Run.Channel(index).Sensitivity = Project.Test_Item.Run.Channel(index).Sensitivity * 1000.0;
